<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<title>Modifica descrizione Elemento</title>
	<link rel="stylesheet" type="text/css" href="../styles/style.css" />
</h:head>
<h:body>
<div id="container">
<div id="box">

<header class="banner">
<span id="titoloPagina"> Inserisci la nuova descrizione </span>
</header>

<div id="externalborder1">
<p:spacer height="40px" />

	<h:form>
			
		<div id="externalborderReg">
			
			<h:panelGrid columns="3" id="descr">
						
				<p:outputLabel for="descri">Aeroporti:</p:outputLabel>
				<p:inputText id="descri" value="#{creaIstanze.descrizione}" placeholder="Nuova Descrizione" required="true"/>
				<p:message for="descri" display="icon" />
				
				

				

			</h:panelGrid>
		
		</div>



         <p:spacer height="40px"/>

 <div id="columnBox" style="margin:0px auto; width:70%">
	
	<div id="column1" style="float:left; margin:0; margin-left:107px/*111.5px*/;">
<a id="loginlink" href="selezioneVoloBis.xhtml">
					<div class = "button" id = "indietro">
						Indietro
					</div>
				</a>
</div>

<div id="column2" style="float:left; margin:0;/*margin-left:111.5px*/;">
<div class="padder" id="padder">
</div>
</div>

<div id="column3" style="float:left; margin:0;/*margin-left:111.5px*/;">
	<div id="registerButton">
				<h:commandLink id="registerlink" update="descr" action="#{creaIstanze.modificaElemento()}">
<div class="button" id="register">
Conferma Modifica
</div>
</h:commandLink>
</div>

				</div>
				</div>


<!-- il vecchio era un centerbutton -->

</h:form>	
  </div>
</div>      
<div id="push">
</div>
</div>

<div id="footer">
<h:button id="homepage" value="Homepage" outcome="index.xhtml"></h:button>
</div>

</h:body> 
</html>